package com.lianniu.web.staff.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by Administrator on 2017-05-16.
 */
@Controller
@RequestMapping("/staff")
public class StaffController {

    @RequestMapping("/login")
    public String login() {
        return "/staff/login";
    }

    @RequestMapping("/forgetPassword")
    public String forgetPassword() {
        return "/staff/forgetPassword";
    }

    @RequestMapping("index")
    public String index() {
        return "/staff/staffIndex";
    }

    @RequestMapping("addClient")
    public String addClient() {
        return "/staff/addClient";
    }

    @RequestMapping("clients")
    public String clients() {
        return "/staff/myClients";
    }

    @RequestMapping("orders")
    public String orders() {
        return "/staff/orders";
    }

    @RequestMapping("orderDetail")
    public String orderDetail() {
        return "/staff/orderDetail";
    }

    @RequestMapping("/productDetail")
    public String productDetail() {
        return "/staff/productDetail";
    }
    @RequestMapping("/addProduct")
    public String addProduct() {
        return "/staff/postDemand";
    }

    @RequestMapping("/personal")
    public String personal() {
        return "/staff/personalInformation";
    }

    @RequestMapping("/changePass")
    public String changePass() {
        return "/staff/changePass";
    }

    @RequestMapping("/personalDetail")
    public  String personalDetail() {
        return "/staff/informationDetail";
    }
}
